Learn R Programming

poppr (version 2.5.0)

[,snpclone,ANY,ANY,ANY-method: Methods used for the snpclone object

Description

Default methods for subsetting snpclone objects.

Usage

# S4 method for snpclone,ANY,ANY,ANY
[(x, i, j, ..., mlg.reset = FALSE,
  drop = FALSE)

# S4 method for snpclone initialize(.Object, ..., mlg, mlgclass = TRUE)

# S4 method for snpclone show(object)

Arguments

x

a snpclone object

i

vector of numerics indicating number of individuals desired

j

a vector of numerics corresponding to the loci desired.

...

passed on to the '>genlight object.

mlg.reset

logical. Defaults to FALSE. If TRUE, the mlg vector will be reset

drop

set to FALSE

.Object

a character, "snpclone"

mlg

a vector where each element assigns the multilocus genotype of that individual in the data set.

mlgclass

a logical value specifying whether or not to translate the mlg object into an MLG class object.

object

a snpclone object